StoredLearningSession.Start Method ()

Start the attempt associated with this session without taking special action to identify an activity for delivery.

Parent Type: StoredLearningSession

Namespace: Microsoft.LearningComponents.Storage

Assembly: Microsoft.LearningComponents.Storage.dll

Syntax
C#

public void Start ()

Exceptions
Exception type Condition
InvalidOperationException

Thrown if the attempt is not active (that is, AttemptStatus is not AttemptStatus.Active, or if the attempt has already started.

Remarks

In order to navigate within a session, the attempt must be started. An attempt is started when the first activity is identified for delivery.

This method does not save the state of the session. The application should call CommitChanges after calling this method and before disposing the session object to save the session state in long-term storage.

This method only uses sequencing rules to determine the first activity.